package com.hxzy.module.admin.api.menu.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @Author wy
 * @Description 角色菜单树
 * @Date 2024/1/31 16:14
 * @Version 1.0
 */
@Getter
@Setter
@ApiModel(value = "角色菜单树")
public class ModuleAuthorityResp {

    @ApiModelProperty("模块id")
    private Long moduleId;

    @ApiModelProperty("父ID")
    private Long pid;

    @ApiModelProperty("三级id")
    private String threeId;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("标记")
    private Boolean mark;

    @ApiModelProperty("有值时设置选中的左侧路由，没有值时则为直接显示在左侧")
    private String activeMenu;

    @ApiModelProperty("路由url")
    private String showUrl;

}
